package com.jiyun.entity.pojo;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;


/**
 * (ScenicTickets)表实体类
 *
 * @author makejava
 * @since 2025-01-17 19:46:41
 */
@TableName("scenic_tickets")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ScenicTickets implements Serializable {
    //门票ID，自增主键
    private Integer id;
    //景点名称
    private String scenicName;
    //评分
    private Double score;
    //门票起始价格
    private Double priceStart;
    //景点简述
    private String brief;
    //距离（公里）
    private Double distance;
    //0:可定今日 1：随买随用
    private Integer availabletoday;
    //封面图片URL
    private String coverImageUrl;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
    //修改时间
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updateTime;
    //删除字段，0表示未删除，1表示已删除
    private Integer isDelete;


}

